package model

import "gorm.io/gorm"

type App struct {
	gorm.Model
	Name string `gorm:"type:varchar(100)"`
	Desc string `gorm:"type:varchar(255)"`
}

type AppType struct {
	gorm.Model
	Aid int `gorm:"type:int(100)"`
	Tid int `gorm:"type:int(100)"`
}

type Type struct {
	gorm.Model
	Types string `gorm:"type:varchar(100)"`
	AppId int    `gorm:"type:int(100)"`
}

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(100)"`
	Password string `gorm:"type:varchar(100)"`
}
